package com.iss.apartmentmanage.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.iss.apartmentmanage.entity.Role;
import com.iss.apartmentmanage.model.MenuWithRole;
import org.springframework.stereotype.Service;

@Service
public interface RoleService {
    public IPage<Role> queryRoles(Integer pageNum, Integer pageSize);
    public Integer updateRole(Role role);
    public Integer deleteRole(Integer id);
    public Integer addRole(Role role);
    public Integer addRoleMenu(MenuWithRole menuWithRole);

}
